package edu.sctu.fengleilin.month06.day150602.RailWayStation;

import java.util.Scanner;

/**
 * Created by user09 on 2015/6/6.
 */
public class ThiefSteal {
    public String action = "偷";

    public PeopleAppbean peopleAppbean;
    public  ThiefSteal( PeopleAppbean peopleAppbean){
        this.peopleAppbean = peopleAppbean;
    }


    public void Steal(){
        if(peopleAppbean.getAction().equals(action)){
            System.out.println("有小偷，采取行动");
        }else{
            System.out.println("没有小偷，安全");
        }
    }


}
